﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace JNPF.Basics.Models
{
    /// <summary>
    /// 订单收款
    /// 版 本：V3.0.0
    /// 版 权：引迈信息技术有限公司（https://www.jnpfsoft.com）
    /// 作 者：JNPF开发平台组
    /// 日 期：2017-12-11 
    /// </summary>
    [Table("EXT_ORDERRECEIVABLE")]
    public class OrderReceivableEntity
    {
        /// <summary>
        /// 自然主键
        /// </summary>
        [Key]
        [Column("F_ID")]
        public string Id { get; set; }
        /// <summary>
        /// 订单主键
        /// </summary>
        [Column("F_ORDERID")]
        public string OrderId { get; set; }
        /// <summary>
        /// 收款摘要
        /// </summary>
        [Column("F_ABSTRACT")]
        public string Abstract { get; set; }
        /// <summary>
        /// 收款日期
        /// </summary>
        [Column("F_RECEIVABLEDATE")]
        public DateTime? ReceivableDate { get; set; }
        /// <summary>
        /// 收款比率
        /// </summary>
        [Column("F_RECEIVABLERATE")]
        public decimal? ReceivableRate { get; set; }
        /// <summary>
        /// 收款金额
        /// </summary>
        [Column("F_RECEIVABLEMONEY")]
        public decimal? ReceivableMoney { get; set; }
        /// <summary>
        /// 收款方式
        /// </summary>
        [Column("F_RECEIVABLEMODE")]
        public string ReceivableMode { get; set; }
        /// <summary>
        /// 收款状态
        /// </summary>
        [Column("F_RECEIVABLESTATE")]
        public int? ReceivableState { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        [Column("F_DESCRIPTION")]
        public string Description { get; set; }
        /// <summary>
        /// 排序码
        /// </summary>
        [Column("F_SORTCODE")]
        public long? SortCode { get; set; }
    }
}